package org.cyz.tools.core;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

/**
 * @author Chenyz
 * @title: ThreadPoolManager
 * @projectName group-control
 * @description: TODO
 * @date 2021/1/20-10:40
 */
public class ThreadPoolManager {
    // 创建大小为5的线程池
    public static ScheduledExecutorService scheduledThreadPool = Executors.newScheduledThreadPool(20);

    //创建任务线程池
    public static Executor execPool = Executors.newFixedThreadPool(10);


}
